package com.dreamthen.controller;

import com.dreamthen.entity.User;
import com.dreamthen.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @Author zengms
 * @Date 2023-10-29 14:37:26
 **/
@Controller
public class UserController {

    @Autowired
    private IUserService iUserService;

    public User getUser(String id){
        return iUserService.getUser(id);
    }

    public void dealData(User user){
        iUserService.dealData(user);
    }

}
